
//License Information
/*
    Copyright 2010 Jozsef Jantek

    This file is part of HunterTC.

    HunterTC is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    HunterTC is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with HunterTC.  If not, see <http://www.gnu.org/licenses/>.
*/

package huntertc;


public class Shot_Serpent extends Shot
{
    Shot_Serpent(Char_sheet schar)
    {
        name="Serpent Sting";
        focus=25;
        school=3;
        tick_rate=3;
        Calc(schar);
    }
    
    @Override public void Calc(Char_sheet schar)
    {
        if(schar.g_serpent) cooldown=21; else cooldown=15;
        if(schar.g_serpent) tick=7; else tick=5;
        avg_dmg=(int)((242*tick+schar.getRAP()*0.2)/tick);
        bon_dmg=10*schar.t.MM[11].val+(int)((schar.b_Elements)?13:0);
        setBase_cast(21);
        setAct_cast(21);
        Opt_Dmg(schar);
        setDPS(CountDPS());
        setDPM(CountDPM());
    }
}
